libxenlight: don't ignore ctx_init errors if there is one.
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 8 Jan 2010 11:44:15 +0000 (11:44 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 8 Jan 2010 11:44:15 +0000 (11:44 +0000)
commit823db1c4ab13e599f324ab5b82df22a5251d9272
tree905118e766c8a8712a796431282721b695eb66aa
parent55a8fc5f3bb65bcc5378f0741a593e006cdd0a69
libxenlight: don't ignore ctx_init errors if there is one.

ctx_init can return error, and ignoring the errors, would lead to
segfault later. fix all call sites to check return values.

Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
tools/libxl/xl.c